﻿using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using MyWeb.Common;

public partial class MasterPage : System.Web.UI.MasterPage
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            if (Session["Username"] != null)
            {


                lblacc.Text = Session["Username"].ToString();
            }
            else
                {
                    Response.Redirect("~/Login.aspx");
                }

            }
          
           
            
        }
    
}
